package edu.colorado.karl.databases;

/**
 * Encapsulates a set point in the database.
 * @author Michael Knudson
 * @version 3/2/08
 */
public class SPResponse {
	private String name;
	private int value;
	
	/**
	 * Instantiates a new set point response with the given values.
	 * @param name	The name of the set point.
	 * @param value	The value of the set point.
	 */
	public SPResponse(String name, int value) {
		this.name = name;
		this.value = value;
	}

	/**
	 * Returns the name of this set point.
	 * @return the name of this set point.
	 */
	public String getName() {
		return name;
	}

	/**
	 * Returns the value of this set point.
	 * @return the value of this set point.
	 */
	public int getValue() {
		return value;
	}
}
